Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- Interactive mode



  Use DTrace to diagnose gdb issues

A few days ago, I installed the newest 64-bit gdb program (version 7.7.1) on Solaris 10 (X86_64 platform) to debug programs. After playing with the gdb a day, I found 2 issues about gdb:(1) The "set follow-fork-mode child" command doesn't take effect. By default, after the parent process forks the child process, the gdb will track the parent process, so this command can make gdb begin to follow the child process. But this command works OK on Linux.(2) The gdb can't parse the 32-bit application c...

   DTrace, debug, gdb, UNIX     2014-06-28 05:11:20

  Why, oh WHY, do those #?@! nutheads use vi?

Yes, even if you can't believe it, there are a lot fans of the 30-years-old vi editor (or its more recent, just-15-years-old, best clone & great improvement, vim). No, they are not dinosaurs who don't want to catch up with the times - the community of vi users just keeps growing: myself, I only got started 2 years ago (after over 10 years of being a professional programmer). Friends of mine are converting today. Heck, most vi users were not even born when...

   Linux,Vi,Vim,Advantage,History     2012-02-05 07:21:17

  Why does it take Task Manager longer to appear when you start it from the Ctrl+Alt+Del dialog?

Amit was curious why it takes longer for Task Manager to appear when you start it from the Ctrl+Alt+Del dialog compared to launching it from the taskbar. Well, you can see the reason right there on the screen: You're launching it the long way around. If you launch Task Manager from the taskbar, Explorer just launches taskmgr.exe via the usual Create­Process mechanism, and Task Manager launches under the same credentials on the same desktop. On the other hand, when you use the secure ...

   Windows,Task manager,Start time,Ctrl+Alt+Del     2012-02-02 07:06:56

  Amazon unveils 8.9" Kindle Fire HD

Amazon today unveiled 7 products of Kindle family, including the $69 new Kindle; Kindle Paperwhite WiFi/3G, priced at $119 / $179; 7-inch Kindle Fire regular edition/HD version, $159/$ 199; 8.9inch Kindle Fire HD with WiFi/4G Edition at $299 /$499. However, the Amazon phone did not show up. The 8.9-inch Kindle Fire HD is today's highlight, because it looks real similar to iPad. Kindle Fire HD has the following features: 1920 x 1200 resolution, 254PPI Texas Instruments OMAP 4470 proce...

   Amazon,Kindle Fire HD,tablet     2012-09-06 19:12:05

  Google Chrome Alternatives: Best Browsers For Android

Most Android phones come with Chrome pre-installed as the default browser. There’s nothing wrong with that. Chrome is a great browser with excellent features. And it feels natural alongside all the other Google products that also come pre-installed on Android. But the type of browser someone uses is super important. In the end, the browser may be one of the most-used apps on any phone.  Browsers need to fit the needs and lifestyle of the person who is using it. To name a few examples,...

   FIREFOX,MICROSFT EDGE,CHROME     2020-06-18 07:12:35

  Some thoughts about competitive programming

Many programmers may have experience in participating different kinds of coding competition while they are in college. Many of them are hired by top IT companies for their excellent performance during these kinds of coding competitions. There are some famous competitions organized by IT companies such as Google Code Jam, Facebook hackathons etc. Coding competitions are places where programmers can show their talents in programming and the skills they have. Usually programmers will solve some to...

   Coding,competition     2014-03-02 07:26:21

  The basics of Client/Server socket programming

  While Client/Server communication model is ubiquitous nowadays, most of them involve socket programming knowledge. In this post, I will introduce some rudimentary aspects of it: (1) Short/Long-lived TCP connection.Short-lived TCP connection refers to following pattern: Client creates a connection to server; send message, then close the connection. If Client wants to transmit information again, repeat the above steps. Because establishing and destroying TCP s...

       2017-09-26 19:43:10

  Marissa Mayer brings 3rd Googler to Yahoo

In Marissa Mayer's plan reviving Yahoo, the focus on products is well known. It is generally expected that the reviving plan will start from Flickr. Mayer recently appeared in the Flickr team, and talked to Flickr designers. It means that Mayer now starts the formal implementation of her product strategy.After communicating with the entire team, Mayer talked to Flickr designer separately, but details are unknown. As shown below:: Mayer once again brings Yahoo the third Googler: Andrew Schulte. ...

   Googler,Yahoo,Marissa Mayer, Flickr,Andrew Schulte     2012-08-21 06:04:21

  Understanding PGO in GoLang 1.20

Background The Go 1.20 version was officially released in February 2023, it introduced the PGO(Profile Guided Optimization) mechanism. The basic principle of PGO can be divided into the following two steps: First, profiling is performed on the program to collect data about the program's runtime and generate a profiling file. When compiling the program, enable the PGO option, and the compiler will optimize the program's performance based on the content in the .pgo file. When compiling a program...

   GO 1.20,PGO,GOLANG     2023-02-28 04:27:46

  Get Bluetooth back on my ASUS Zenbook UX31A

A strange thing occurred to me a few days ago after I installed some routine Windows updates on my ASUS Zenbook UX31A, my Bluetooth was gone and I could not have my Bluetooth speaker connected to my PC and listen  my favorite music. It's just like a ghost, everything disappears all of a sudden. Everything was tried to find where my Bluetooth went but no luck. Below is what my device manager shows: No Bluetooth is found, usually if there is some issue with the Bluetooth driver, the device m...

   Bluetooth,Windows 8.1,ASUS Zenbook, Bluetooth driver     2014-12-11 09:17:11